<template>
	<view>
		<form>
			<view class='contents'>
				<textarea placeholder="请输入反馈内容，我们会为您更好的服务！" maxlength="200" placeholder-class="placeholder" class='textarea'></textarea>
				<view class='txtNumber'>0/200</view>
				<view class="uploadBox">
					<view class="AddImg">
						<image src='../../static/camera.png'></image>
					</view>
				</view>
			</view>
			<button class='submit' hover-class="submit-hover">提交反馈</button>
		</form>

		<!-- 反馈成功 -->
		<!-- <view class='success'>
			<icon type="success" size="90" />
			<view class='result'>反馈成功</view>
			<view class='tips'>感谢您对服务的关注与支持，我们会认真处理您的反馈，尽快修复和完善相关功能 </view>
		</view> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
	page {
		background-color: #fff;
		padding: 30rpx;
	}

	.contents {
		margin-bottom: 50rpx;
		padding: 30rpx;
		border: 1rpx solid #EAEAEA;
		border-radius: 10rpx;
	}

	.textarea {
		width: 100%;
		height: 150rpx;
		font-size: 28rpx;
	}

	.txtNumber {
		text-align: right;
		font-size: 24rpx;
		color: #4C4C4C;
	}

	.placeholder {
		font-size: 28rpx;
		color: #999;
	}

	/* 上传 */
	.uploadBox {
		overflow: hidden;
		padding-top: 20rpx;
	}

	.uploadBox .imgItem {
		position: relative;
		/* display: inline-block; */
		float: left;
	}

	.uploadBox .imgItem .deleteImg {
		position: absolute;
		top: -10rpx;
		right: 10rpx;
		width: 30rpx;
		height: 30rpx;
		z-index: 3;
	}

	.uploadBox .viewImg {
		margin-right: 20rpx;
		margin-bottom: 10rpx;
		border-radius: 10rpx;
		font-size: 100rpx;
		width: 130rpx;
		height: 130rpx;
		line-height: 90rpx;
		text-align: center;
		border: 1px solid #ADADAD;
	}

	.uploadBox .AddImg {
		float: left;
		width: 130rpx;
		height: 130rpx;
		margin-right: 20rpx;
		margin-bottom: 10rpx;
		/* border-radius: 10rpx;
  font-size: 100rpx;
  line-height: 120rpx;
  text-align: center;
  border: 1px solid #ADADAD; */
	}

	.AddImg image {
		width: 100%;
		height: 100%;
	}

	/* 提交 */
	.submit {
		background: #3477E7;
		color: #fff;
	}

	.submit-hover {
		opacity: 0.8;
	}

	/* 反馈成功 */
	.success {
		text-align: center;
		padding: 30rpx;
		padding-top: 20%;
	}

	.result {
		font-size: 36rpx;
		margin: 30rpx 0 15rpx;
	}

	.tips {
		font-size: 28rpx;
		color: #7b7b7b;
	}
</style>
